Noemax FastInfoset.NET
Init(Byte[],Int32,Int32) Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetReader Class > Init Method : Init(Byte[],Int32,Int32) Method






input

The an array of bytes containing the Fast Infoset encoded XML data to read.

offset

The offset in the array of bytes to start reading from.

length

The number of byte starting from the offset that contain FastInfoset encoded XML data.

Initializes an instance of the XmlFastInfosetReader class.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Init( _
   ByVal input() As Byte, _
   ByVal offset As Integer, _
   ByVal length As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim input() As Byte
Dim offset As Integer
Dim length As Integer
 
instance.Init(input, offset, length)
C# 
public void Init( 
   byte[] input,
   int offset,
   int length
)
Delphi 
public procedure Init( 
    input: Bytearray of;
    offset: Integer;
    length: Integer
); 
JScript 
public function Init( 
   input : byte[],
   offset : int,
   length : int
);
Managed Extensions for C++ 
public: void Init( 
   byte[]* input,
   int offset,
   int length
) 
C++/CLI 
public:
void Init( 
   array<byte>^ input,
   int offset,
   int length
) 

Parameters

input

The an array of bytes containing the Fast Infoset encoded XML data to read.

offset

The offset in the array of bytes to start reading from.

length

The number of byte starting from the offset that contain FastInfoset encoded XML data.

Remarks

Initializes the reader and sets it to use the provided array of bytes as input.

This method allows the reuse of the XmlFastInfosetReader for reading from another source.

See Also